package com.token.iot.bratterycharging.boss.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.token.iot.bratterycharging.boss.web.Agents;
import com.token.iot.bratterycharging.boss.web.Merchant;
import com.token.iot.bratterycharging.boss.web.OperDTO;


@Repository
public interface AgentDAO {
	
	
	/**
	 * 插入Agents到数据库,包括null值
	 * 
	 * @param value
	 * @return
	 */
	long insertAgents(Agents value);
	
	Agents selectOneById(@Param("id")String id);
	
	List<Agents> list();
	
	public Agents selectByUserNamePassword(@Param("userName") String userName,@Param("password") String password);
}
